Can I create module dependent menus with a write protected config folder?

Hello altogether

I've a problem: I've to create a module dependent menu structure but also have a write protected lib/config installation (required by our IT admins), so I can't copy files into the "formalfiles" or "baseWindowMenuFiles" folder and therefore can't use the createMenu/createItem functions (at least as far as I understood the manual).

The other method to create custom menus is the "automatic" method, using the addins/projectAddins method, using the -a and -J flags as command line switch but using this method, the menu structure depends on the (sub-)folder structure and its *.idx files and I don't see there any possibility to control, when a specific function shall be available or not.

Is there a solution for my problem?

I hope anybody can help me.

Best regards,

Michael


MichaelBrockhaus - Mon Sep 11 02:15:23 EDT 2017

Re: Can I create module dependent menus with a write protected config folder?
MichaelBrockhaus - Mon Sep 25 05:07:01 EDT 2017

Hello again,

for the case, that my previous question was to confused: Is it possible to control the available menu items, when using the "addins" method?

Cheers,

Michael

Re: Can I create module dependent menus with a write protected config folder?
Mathias Mamsch - Tue Sep 26 12:28:38 EDT 2017

MichaelBrockhaus - Mon Sep 25 05:07:01 EDT 2017

Hello again,

for the case, that my previous question was to confused: Is it possible to control the available menu items, when using the "addins" method?

Cheers,

Michael

I guess this will not be possible. You can try hacks, like modifying the addins directory in a pre open trigger, but to me it sounds more or less, like you would really like to use dynamic menus, but your IT would not allow it (because you cannot deploy to the DOORS client directory). There are probably methods to get around this (for example to modify the DOORS HOME  - i think there is even a command line parameter for that) or you could ask the IT to place a file system link or a file of your choice inside the DOORS client directory. One file is enough - you can load all other files from there, even if they reside somewhere else. Regards, Mathias